<%@ page language="java" pageEncoding="UTF-8"%>
<%
	Exception e = (Exception) request.getAttribute("ex");
%>
<!DOCTYPE html>
<html>
<head>
<title>抱歉，出错了</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0">
<link rel="stylesheet" type="text/css" href="https://res.wx.qq.com/connect/zh_CN/htmledition/style/wap_err1a9853.css">
</head>
<body>
	<div class="page_msg">
		<div class="inner">
			<span class="msg_icon_wrp"><i class="icon80_smile"></i></span>
			<div class="msg_content">
				<h4><%=e.getMessage()%></h4>
			</div>
		</div>
	</div>
	<script type="text/javascript">
		var ua = navigator.userAgent.toLowerCase();
		var isWeixin = ua.indexOf('micromessenger') != -1;
		var isAndroid = ua.indexOf('android') != -1;
		var isIos = (ua.indexOf('iphone') != -1) || (ua.indexOf('ipad') != -1);
		if (!isWeixin) {
			document.body.innerHTML = '<div class="page_msg"><div class="inner"><span class="msg_icon_wrp"><i class="icon80_smile"></i></span><div class="msg_content"><h4>请在微信客户端打开链接</h4></div></div></div>';
		}
	</script>
</body>
</html>
